
find_device4:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 52 2f 00 00    	pushq  0x2f52(%rip)        # 3f78 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 53 2f 00 00 	bnd jmpq *0x2f53(%rip)        # 3f80 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop
    1070:	f3 0f 1e fa          	endbr64 
    1074:	68 04 00 00 00       	pushq  $0x4
    1079:	f2 e9 a1 ff ff ff    	bnd jmpq 1020 <.plt>
    107f:	90                   	nop
    1080:	f3 0f 1e fa          	endbr64 
    1084:	68 05 00 00 00       	pushq  $0x5
    1089:	f2 e9 91 ff ff ff    	bnd jmpq 1020 <.plt>
    108f:	90                   	nop
    1090:	f3 0f 1e fa          	endbr64 
    1094:	68 06 00 00 00       	pushq  $0x6
    1099:	f2 e9 81 ff ff ff    	bnd jmpq 1020 <.plt>
    109f:	90                   	nop
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	68 07 00 00 00       	pushq  $0x7
    10a9:	f2 e9 71 ff ff ff    	bnd jmpq 1020 <.plt>
    10af:	90                   	nop
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	68 08 00 00 00       	pushq  $0x8
    10b9:	f2 e9 61 ff ff ff    	bnd jmpq 1020 <.plt>
    10bf:	90                   	nop
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	68 09 00 00 00       	pushq  $0x9
    10c9:	f2 e9 51 ff ff ff    	bnd jmpq 1020 <.plt>
    10cf:	90                   	nop

Disassembly of section .plt.got:

00000000000010d0 <__cxa_finalize@plt>:
    10d0:	f3 0f 1e fa          	endbr64 
    10d4:	f2 ff 25 1d 2f 00 00 	bnd jmpq *0x2f1d(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    10db:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

00000000000010e0 <strncpy@plt>:
    10e0:	f3 0f 1e fa          	endbr64 
    10e4:	f2 ff 25 9d 2e 00 00 	bnd jmpq *0x2e9d(%rip)        # 3f88 <strncpy@GLIBC_2.2.5>
    10eb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010f0 <puts@plt>:
    10f0:	f3 0f 1e fa          	endbr64 
    10f4:	f2 ff 25 95 2e 00 00 	bnd jmpq *0x2e95(%rip)        # 3f90 <puts@GLIBC_2.2.5>
    10fb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001100 <strlen@plt>:
    1100:	f3 0f 1e fa          	endbr64 
    1104:	f2 ff 25 8d 2e 00 00 	bnd jmpq *0x2e8d(%rip)        # 3f98 <strlen@GLIBC_2.2.5>
    110b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001110 <__stack_chk_fail@plt>:
    1110:	f3 0f 1e fa          	endbr64 
    1114:	f2 ff 25 85 2e 00 00 	bnd jmpq *0x2e85(%rip)        # 3fa0 <__stack_chk_fail@GLIBC_2.4>
    111b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001120 <printf@plt>:
    1120:	f3 0f 1e fa          	endbr64 
    1124:	f2 ff 25 7d 2e 00 00 	bnd jmpq *0x2e7d(%rip)        # 3fa8 <printf@GLIBC_2.2.5>
    112b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001130 <pclose@plt>:
    1130:	f3 0f 1e fa          	endbr64 
    1134:	f2 ff 25 75 2e 00 00 	bnd jmpq *0x2e75(%rip)        # 3fb0 <pclose@GLIBC_2.2.5>
    113b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001140 <fgets@plt>:
    1140:	f3 0f 1e fa          	endbr64 
    1144:	f2 ff 25 6d 2e 00 00 	bnd jmpq *0x2e6d(%rip)        # 3fb8 <fgets@GLIBC_2.2.5>
    114b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001150 <popen@plt>:
    1150:	f3 0f 1e fa          	endbr64 
    1154:	f2 ff 25 65 2e 00 00 	bnd jmpq *0x2e65(%rip)        # 3fc0 <popen@GLIBC_2.2.5>
    115b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001160 <sleep@plt>:
    1160:	f3 0f 1e fa          	endbr64 
    1164:	f2 ff 25 5d 2e 00 00 	bnd jmpq *0x2e5d(%rip)        # 3fc8 <sleep@GLIBC_2.2.5>
    116b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001170 <strstr@plt>:
    1170:	f3 0f 1e fa          	endbr64 
    1174:	f2 ff 25 55 2e 00 00 	bnd jmpq *0x2e55(%rip)        # 3fd0 <strstr@GLIBC_2.2.5>
    117b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

0000000000001180 <_start>:
    1180:	f3 0f 1e fa          	endbr64 
    1184:	31 ed                	xor    %ebp,%ebp
    1186:	49 89 d1             	mov    %rdx,%r9
    1189:	5e                   	pop    %rsi
    118a:	48 89 e2             	mov    %rsp,%rdx
    118d:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    1191:	50                   	push   %rax
    1192:	54                   	push   %rsp
    1193:	4c 8d 05 36 03 00 00 	lea    0x336(%rip),%r8        # 14d0 <__libc_csu_fini>
    119a:	48 8d 0d bf 02 00 00 	lea    0x2bf(%rip),%rcx        # 1460 <__libc_csu_init>
    11a1:	48 8d 3d 88 02 00 00 	lea    0x288(%rip),%rdi        # 1430 <main>
    11a8:	ff 15 32 2e 00 00    	callq  *0x2e32(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    11ae:	f4                   	hlt    
    11af:	90                   	nop

00000000000011b0 <deregister_tm_clones>:
    11b0:	48 8d 3d 59 2e 00 00 	lea    0x2e59(%rip),%rdi        # 4010 <__TMC_END__>
    11b7:	48 8d 05 52 2e 00 00 	lea    0x2e52(%rip),%rax        # 4010 <__TMC_END__>
    11be:	48 39 f8             	cmp    %rdi,%rax
    11c1:	74 15                	je     11d8 <deregister_tm_clones+0x28>
    11c3:	48 8b 05 0e 2e 00 00 	mov    0x2e0e(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    11ca:	48 85 c0             	test   %rax,%rax
    11cd:	74 09                	je     11d8 <deregister_tm_clones+0x28>
    11cf:	ff e0                	jmpq   *%rax
    11d1:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    11d8:	c3                   	retq   
    11d9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000011e0 <register_tm_clones>:
    11e0:	48 8d 3d 29 2e 00 00 	lea    0x2e29(%rip),%rdi        # 4010 <__TMC_END__>
    11e7:	48 8d 35 22 2e 00 00 	lea    0x2e22(%rip),%rsi        # 4010 <__TMC_END__>
    11ee:	48 29 fe             	sub    %rdi,%rsi
    11f1:	48 89 f0             	mov    %rsi,%rax
    11f4:	48 c1 ee 3f          	shr    $0x3f,%rsi
    11f8:	48 c1 f8 03          	sar    $0x3,%rax
    11fc:	48 01 c6             	add    %rax,%rsi
    11ff:	48 d1 fe             	sar    %rsi
    1202:	74 14                	je     1218 <register_tm_clones+0x38>
    1204:	48 8b 05 e5 2d 00 00 	mov    0x2de5(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    120b:	48 85 c0             	test   %rax,%rax
    120e:	74 08                	je     1218 <register_tm_clones+0x38>
    1210:	ff e0                	jmpq   *%rax
    1212:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    1218:	c3                   	retq   
    1219:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001220 <__do_global_dtors_aux>:
    1220:	f3 0f 1e fa          	endbr64 
    1224:	80 3d e5 2d 00 00 00 	cmpb   $0x0,0x2de5(%rip)        # 4010 <__TMC_END__>
    122b:	75 2b                	jne    1258 <__do_global_dtors_aux+0x38>
    122d:	55                   	push   %rbp
    122e:	48 83 3d c2 2d 00 00 	cmpq   $0x0,0x2dc2(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    1235:	00 
    1236:	48 89 e5             	mov    %rsp,%rbp
    1239:	74 0c                	je     1247 <__do_global_dtors_aux+0x27>
    123b:	48 8b 3d c6 2d 00 00 	mov    0x2dc6(%rip),%rdi        # 4008 <__dso_handle>
    1242:	e8 89 fe ff ff       	callq  10d0 <__cxa_finalize@plt>
    1247:	e8 64 ff ff ff       	callq  11b0 <deregister_tm_clones>
    124c:	c6 05 bd 2d 00 00 01 	movb   $0x1,0x2dbd(%rip)        # 4010 <__TMC_END__>
    1253:	5d                   	pop    %rbp
    1254:	c3                   	retq   
    1255:	0f 1f 00             	nopl   (%rax)
    1258:	c3                   	retq   
    1259:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001260 <frame_dummy>:
    1260:	f3 0f 1e fa          	endbr64 
    1264:	e9 77 ff ff ff       	jmpq   11e0 <register_tm_clones>

0000000000001269 <find_device>:
    1269:	f3 0f 1e fa          	endbr64 
    126d:	55                   	push   %rbp
    126e:	48 89 e5             	mov    %rsp,%rbp
    1271:	48 81 ec b0 00 00 00 	sub    $0xb0,%rsp
    1278:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    127f:	00 00 
    1281:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1285:	31 c0                	xor    %eax,%eax
    1287:	48 c7 85 58 ff ff ff 	movq   $0x0,-0xa8(%rbp)
    128e:	00 00 00 00 
    1292:	c7 85 6c ff ff ff 00 	movl   $0x0,-0x94(%rbp)
    1299:	00 00 00 
    129c:	48 8d 35 65 0d 00 00 	lea    0xd65(%rip),%rsi        # 2008 <_IO_stdin_used+0x8>
    12a3:	48 8d 3d 60 0d 00 00 	lea    0xd60(%rip),%rdi        # 200a <_IO_stdin_used+0xa>
    12aa:	e8 a1 fe ff ff       	callq  1150 <popen@plt>
    12af:	48 89 85 60 ff ff ff 	mov    %rax,-0xa0(%rbp)
    12b6:	48 83 bd 60 ff ff ff 	cmpq   $0x0,-0xa0(%rbp)
    12bd:	00 
    12be:	75 1b                	jne    12db <find_device+0x72>
    12c0:	48 8d 3d 4c 0d 00 00 	lea    0xd4c(%rip),%rdi        # 2013 <_IO_stdin_used+0x13>
    12c7:	b8 00 00 00 00       	mov    $0x0,%eax
    12cc:	e8 4f fe ff ff       	callq  1120 <printf@plt>
    12d1:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
    12d6:	e9 3f 01 00 00       	jmpq   141a <find_device+0x1b1>
    12db:	90                   	nop
    12dc:	48 8b 95 60 ff ff ff 	mov    -0xa0(%rbp),%rdx
    12e3:	48 8d 85 70 ff ff ff 	lea    -0x90(%rbp),%rax
    12ea:	be 80 00 00 00       	mov    $0x80,%esi
    12ef:	48 89 c7             	mov    %rax,%rdi
    12f2:	e8 49 fe ff ff       	callq  1140 <fgets@plt>
    12f7:	48 85 c0             	test   %rax,%rax
    12fa:	75 e0                	jne    12dc <find_device+0x73>
    12fc:	48 8d 3d 25 0d 00 00 	lea    0xd25(%rip),%rdi        # 2028 <_IO_stdin_used+0x28>
    1303:	e8 e8 fd ff ff       	callq  10f0 <puts@plt>
    1308:	48 8d 85 70 ff ff ff 	lea    -0x90(%rbp),%rax
    130f:	48 89 c6             	mov    %rax,%rsi
    1312:	48 8d 3d 32 0d 00 00 	lea    0xd32(%rip),%rdi        # 204b <_IO_stdin_used+0x4b>
    1319:	b8 00 00 00 00       	mov    $0x0,%eax
    131e:	e8 fd fd ff ff       	callq  1120 <printf@plt>
    1323:	48 8d 85 70 ff ff ff 	lea    -0x90(%rbp),%rax
    132a:	48 89 c7             	mov    %rax,%rdi
    132d:	e8 ce fd ff ff       	callq  1100 <strlen@plt>
    1332:	48 83 e8 01          	sub    $0x1,%rax
    1336:	0f b6 84 05 70 ff ff 	movzbl -0x90(%rbp,%rax,1),%eax
    133d:	ff 
    133e:	3c 0a                	cmp    $0xa,%al
    1340:	75 1b                	jne    135d <find_device+0xf4>
    1342:	48 8d 85 70 ff ff ff 	lea    -0x90(%rbp),%rax
    1349:	48 89 c7             	mov    %rax,%rdi
    134c:	e8 af fd ff ff       	callq  1100 <strlen@plt>
    1351:	48 83 e8 01          	sub    $0x1,%rax
    1355:	c6 84 05 70 ff ff ff 	movb   $0x0,-0x90(%rbp,%rax,1)
    135c:	00 
    135d:	48 8d 3d f4 0c 00 00 	lea    0xcf4(%rip),%rdi        # 2058 <_IO_stdin_used+0x58>
    1364:	e8 87 fd ff ff       	callq  10f0 <puts@plt>
    1369:	48 8d 85 70 ff ff ff 	lea    -0x90(%rbp),%rax
    1370:	48 89 c6             	mov    %rax,%rsi
    1373:	48 8d 3d d1 0c 00 00 	lea    0xcd1(%rip),%rdi        # 204b <_IO_stdin_used+0x4b>
    137a:	b8 00 00 00 00       	mov    $0x0,%eax
    137f:	e8 9c fd ff ff       	callq  1120 <printf@plt>
    1384:	48 8d 85 70 ff ff ff 	lea    -0x90(%rbp),%rax
    138b:	48 8d 35 e8 0c 00 00 	lea    0xce8(%rip),%rsi        # 207a <_IO_stdin_used+0x7a>
    1392:	48 89 c7             	mov    %rax,%rdi
    1395:	e8 d6 fd ff ff       	callq  1170 <strstr@plt>
    139a:	48 89 85 58 ff ff ff 	mov    %rax,-0xa8(%rbp)
    13a1:	48 83 bd 58 ff ff ff 	cmpq   $0x0,-0xa8(%rbp)
    13a8:	00 
    13a9:	74 6a                	je     1415 <find_device+0x1ac>
    13ab:	48 8b 85 58 ff ff ff 	mov    -0xa8(%rbp),%rax
    13b2:	48 89 c6             	mov    %rax,%rsi
    13b5:	48 8d 3d c1 0c 00 00 	lea    0xcc1(%rip),%rdi        # 207d <_IO_stdin_used+0x7d>
    13bc:	b8 00 00 00 00       	mov    $0x0,%eax
    13c1:	e8 5a fd ff ff       	callq  1120 <printf@plt>
    13c6:	48 8b 8d 58 ff ff ff 	mov    -0xa8(%rbp),%rcx
    13cd:	48 8d 85 6c ff ff ff 	lea    -0x94(%rbp),%rax
    13d4:	ba 03 00 00 00       	mov    $0x3,%edx
    13d9:	48 89 ce             	mov    %rcx,%rsi
    13dc:	48 89 c7             	mov    %rax,%rdi
    13df:	e8 fc fc ff ff       	callq  10e0 <strncpy@plt>
    13e4:	48 8d 85 6c ff ff ff 	lea    -0x94(%rbp),%rax
    13eb:	48 89 c6             	mov    %rax,%rsi
    13ee:	48 8d 3d 90 0c 00 00 	lea    0xc90(%rip),%rdi        # 2085 <_IO_stdin_used+0x85>
    13f5:	b8 00 00 00 00       	mov    $0x0,%eax
    13fa:	e8 21 fd ff ff       	callq  1120 <printf@plt>
    13ff:	48 8b 85 60 ff ff ff 	mov    -0xa0(%rbp),%rax
    1406:	48 89 c7             	mov    %rax,%rdi
    1409:	e8 22 fd ff ff       	callq  1130 <pclose@plt>
    140e:	b8 00 00 00 00       	mov    $0x0,%eax
    1413:	eb 05                	jmp    141a <find_device+0x1b1>
    1415:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
    141a:	48 8b 4d f8          	mov    -0x8(%rbp),%rcx
    141e:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    1425:	00 00 
    1427:	74 05                	je     142e <find_device+0x1c5>
    1429:	e8 e2 fc ff ff       	callq  1110 <__stack_chk_fail@plt>
    142e:	c9                   	leaveq 
    142f:	c3                   	retq   

0000000000001430 <main>:
    1430:	f3 0f 1e fa          	endbr64 
    1434:	55                   	push   %rbp
    1435:	48 89 e5             	mov    %rsp,%rbp
    1438:	48 83 ec 10          	sub    $0x10,%rsp
    143c:	89 7d fc             	mov    %edi,-0x4(%rbp)
    143f:	48 89 75 f0          	mov    %rsi,-0x10(%rbp)
    1443:	b8 00 00 00 00       	mov    $0x0,%eax
    1448:	e8 1c fe ff ff       	callq  1269 <find_device>
    144d:	bf 01 00 00 00       	mov    $0x1,%edi
    1452:	b8 00 00 00 00       	mov    $0x0,%eax
    1457:	e8 04 fd ff ff       	callq  1160 <sleep@plt>
    145c:	eb e5                	jmp    1443 <main+0x13>
    145e:	66 90                	xchg   %ax,%ax

0000000000001460 <__libc_csu_init>:
    1460:	f3 0f 1e fa          	endbr64 
    1464:	41 57                	push   %r15
    1466:	4c 8d 3d 03 29 00 00 	lea    0x2903(%rip),%r15        # 3d70 <__frame_dummy_init_array_entry>
    146d:	41 56                	push   %r14
    146f:	49 89 d6             	mov    %rdx,%r14
    1472:	41 55                	push   %r13
    1474:	49 89 f5             	mov    %rsi,%r13
    1477:	41 54                	push   %r12
    1479:	41 89 fc             	mov    %edi,%r12d
    147c:	55                   	push   %rbp
    147d:	48 8d 2d f4 28 00 00 	lea    0x28f4(%rip),%rbp        # 3d78 <__do_global_dtors_aux_fini_array_entry>
    1484:	53                   	push   %rbx
    1485:	4c 29 fd             	sub    %r15,%rbp
    1488:	48 83 ec 08          	sub    $0x8,%rsp
    148c:	e8 6f fb ff ff       	callq  1000 <_init>
    1491:	48 c1 fd 03          	sar    $0x3,%rbp
    1495:	74 1f                	je     14b6 <__libc_csu_init+0x56>
    1497:	31 db                	xor    %ebx,%ebx
    1499:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    14a0:	4c 89 f2             	mov    %r14,%rdx
    14a3:	4c 89 ee             	mov    %r13,%rsi
    14a6:	44 89 e7             	mov    %r12d,%edi
    14a9:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    14ad:	48 83 c3 01          	add    $0x1,%rbx
    14b1:	48 39 dd             	cmp    %rbx,%rbp
    14b4:	75 ea                	jne    14a0 <__libc_csu_init+0x40>
    14b6:	48 83 c4 08          	add    $0x8,%rsp
    14ba:	5b                   	pop    %rbx
    14bb:	5d                   	pop    %rbp
    14bc:	41 5c                	pop    %r12
    14be:	41 5d                	pop    %r13
    14c0:	41 5e                	pop    %r14
    14c2:	41 5f                	pop    %r15
    14c4:	c3                   	retq   
    14c5:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    14cc:	00 00 00 00 

00000000000014d0 <__libc_csu_fini>:
    14d0:	f3 0f 1e fa          	endbr64 
    14d4:	c3                   	retq   

Disassembly of section .fini:

00000000000014d8 <_fini>:
    14d8:	f3 0f 1e fa          	endbr64 
    14dc:	48 83 ec 08          	sub    $0x8,%rsp
    14e0:	48 83 c4 08          	add    $0x8,%rsp
    14e4:	c3                   	retq   
